package com.anxin.registerManagement.bean.persist;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

@Data
@ApiModel("权限组类")
public class PermissionGroup {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("权限组id")
    private Integer id;

    @NotBlank(message = "权限组名称不能为空")
    @ApiModelProperty("权限组名称，如，用户组")
    private String permissionGroupName;

    @ApiModelProperty("权限组描述")
    private String permissionGroupDesc;

}
